package com.xqboss.apps.enums.user;

import com.xqboss.common.enums.BaseEnum;

/**
 * @author Trent
 * @date 2023/8/29
 */
public enum UserNftSourceTypeEnum implements BaseEnum<Integer> {

    UNKNOWN(0, "未知来源"),
    PUBLISH(1, "首发"),
    MARKET(2, "集市"),
    AIRDROP(3, "空投"),
    OPEN_BOX(4, "开箱"),
    SYNTHESIS(5, "合成"),
    GIFT(6, "礼物"),
    SMELT(7, "熔炼"),
    TRANSFER(8, "藏品转赠"),
            ;

    private final Integer value;
    private final String msg;

    UserNftSourceTypeEnum(Integer value, String description) {
        this.value = value;
        this.msg = description;
    }

    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
